The protocol used for this class mimics the way many other collection classes are defined. For example, when used with MFC, you will see member definitions such as c4_View::GetSize, c4_View::GetAt, c4_View::InsertAt.
The elements of views can be referred to by their 0-based index, which produces a row-reference of type c4_RowRef. These row references can be copied, used to get or set properties, or dereferenced (in which case an object of class c4_Row is returned). Taking the address of a row reference produces a c4_Cursor, which acts very much like a pointer.
The following code creates a view with 1 row and 2 properties:
c4_StringProp pName ("Name"); c4_IntProp pAge ("Age");
c4_Row data; pName (data) = "John Williams"; pAge (data) = 43;
c4_View myView; myView.Add(row);